package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 短信平台管理Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name = "sms_info")
public class SmsInfo extends BaseEntity {
/*
	`mobile` varchar(64) DEFAULT NULL COMMENT '手机号码',
	`mac_address` varchar(64) DEFAULT NULL COMMENT 'MAC地址',
	`access_token` varchar(100) DEFAULT NULL COMMENT '访问token',
	`sms_message` varchar(1000) DEFAULT NULL COMMENT 'SMS信息',
	`sms_message_status` varchar(20) DEFAULT NULL COMMENT 'SMS短信状态(0:成功)',
	`sms_validation_code` varchar(10) DEFAULT NULL COMMENT '短信的验证码',
	`sms_remain_num` varchar(10) DEFAULT NULL COMMENT '短信的剩余条数',
	`use_state` char(1) NOT NULL DEFAULT '0' COMMENT '使用状态（0未使用，1已使用）',
	*/
	private static final long serialVersionUID = 1L;
	private String mobile;		// 手机号码
	private String macAddress;		// MAC地址
	private String accessToken;     //访问token
	private String smsMessage;		// SMS信息
	private String smsMessageStatus;		// SMS短信状态
	private String smsValidationCode;		// 短信的验证码
	private String smsRemainNum;		// 短信的剩余条数
	private String useState;		// 使用状态


	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMacAddress() {
		return macAddress;
	}

	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getSmsMessage() {
		return smsMessage;
	}

	public void setSmsMessage(String smsMessage) {
		this.smsMessage = smsMessage;
	}

	public String getSmsMessageStatus() {
		return smsMessageStatus;
	}

	public void setSmsMessageStatus(String smsMessageStatus) {
		this.smsMessageStatus = smsMessageStatus;
	}

	public String getSmsValidationCode() {
		return smsValidationCode;
	}

	public void setSmsValidationCode(String smsValidationCode) {
		this.smsValidationCode = smsValidationCode;
	}

	public String getSmsRemainNum() {
		return smsRemainNum;
	}

	public void setSmsRemainNum(String smsRemainNum) {
		this.smsRemainNum = smsRemainNum;
	}

	public String getUseState() {
		return useState;
	}

	public void setUseState(String useState) {
		this.useState = useState;
	}
}